/*
 * Copyright (C) 2011 Macambira Team
 *
 * This program is free software; you can redistribute it and/or
 * modify it under the terms of the GNU General Public License
 * as published by the Free Software Foundation; either version 2
 * of the License, or (at your option) any later version.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with this program; if not, write to the Free Software
 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
 */
package com.googlecode.entity;

import java.util.LinkedList;
import java.util.List;

/**
 * Classe responsavel por conter as informacoes de um departamento
 *
 * @version 0.3 28 Set 2011
 * @author Ihago Alencar | ihago.alencar@dce.ufpb.br
 */
public class Departamento {

    private String nome;
    private String id;
    private List<Professor> professores = new LinkedList<Professor>();
    private List<Curso> cursos = new LinkedList<Curso>();

    public Departamento() {
        this("@NOTSET", "@NOTSET");
    }
    
    public Departamento(String nome, String id) {
        this.nome = nome;
        this.id = id;
    }

    public String getNome() {
        return this.nome;
    }

    public String getId() {
        return this.id;
    }

    public List<Curso> getCursos() {
        return cursos;
    }

    public List<Professor> getProfessores() {
        return professores;
    }

    public void setCursos(List<Curso> cursos) {
        this.cursos = cursos;
    }

    public void setId(String id) {
        this.id = id;
    }

    public void setNome(String nome) {
        this.nome = nome;
    }

    public void setProfessores(List<Professor> professores) {
        this.professores = professores;
    }
 
}
